Method for providing different indicator for image based on shooting mode and electronic device thereof

ABSTRACT

The present disclosure relates to a method and apparatus for providing a camera service by an electronic device. The electronic device may include a camera, a memory, and at least one processor, the processor configured to control the electronic device to: receive a camera shooting request; display a preview image of an external object obtained through the camera using first area information based on a first shooting mode in response to the shooting request; receive an input corresponding to a second shooting mode in the first shooting mode; and display the preview using second area information corresponding to the second shooting mode in response to the input.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority under 35 U.S.C. § 119(a) to KoreanPatent Application Serial No. 10-2017-0033653, which was filed in theKorean Intellectual Property Office on Mar. 17, 2017, the entirecontents of which is hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to a method and apparatus for providing acamera service that supports a plurality of shooting modes in which anelectronic device shoots images of different sizes.

BACKGROUND

With the development of information and communication technologies andsemiconductor technologies, various types of electronic devices havedeveloped into multimedia devices that provide various multimediaservices. For example, the multimedia services may include variousservices such as a voice call service, a messenger service, abroadcasting service, a wireless Internet service, a camera service, amusic reproduction service, and the like.

An electronic device may provide a camera service desired by a userusing at least one camera electronically connected to the electronicdevice. For example, the electronic device may obtain a picture or avideo using at least one camera.

SUMMARY

An electronic device may shoot (obtain) a picture or a video through asingle camera service screen (a preview image) without distinguishingbetween a picture-shooting mode and a video-shooting mode. For example,the electronic device may display, on a display, an image (e.g., apreview image) collected through a camera, the view angle of which isset to correspond to a shooting mode. When an input corresponding topicture shooting is received in the state in which a preview imagecorresponding to a shooting mode is displayed, the electronic device mayobtain (capture) a picture corresponding to the point in time at whichthe input is received. When an input corresponding to video shooting isreceived in the state in which a preview image corresponding to ashooting mode is displayed, the electronic device can start shooting avideo. For example, the shooting mode may include a picture-shootingmode or a video-shooting mode.

However, when camera view angles (or image sizes) corresponding to apicture-shooting mode and a video-shooting mode of the electronic deviceare set differently from each other, the user of the electronic devicemay have difficulty in setting the composition for image shooting. Forexample, when the electronic device operates in the picture-shootingmode, the electronic device may display, on the display, a preview imagecorresponding to a predetermined picture size (e.g., having an aspectratio of 4:3). When an input corresponding to video shooting isreceived, the electronic device shoots a video in a predetermined size(e.g., having an aspect ratio of 16:9), whereby a view angle differencemay exist. Accordingly, the user of the electronic device may havedifficulty in setting the composition for video shooting.

Also, the electronic device may provide video stabilization forcorrecting shaking of a video. When such video stabilization isprovided, a relatively larger change occurs in a view angle, whereby theuser may have difficulty in shooting an image.

Various embodiments of the present disclosure may provide a method andapparatus by which an electronic device provides image size changeinformation corresponding to a change in the view angle of a camera.

According to various embodiments of the present disclosure, anelectronic device may include: a camera; a display; a memory; and atleast one processor, the processor being configured to perform:displaying, on the display, a plurality of images of an external objectobtained using the camera; receiving an input associated with shootingwhile the plurality of images is displayed; when the input correspondsto a first shooting mode, displaying, on the display, a first indicatorcorresponding to a property of the first shooting mode to at leasttemporarily overlap the plurality of images; when the input correspondsto a second shooting mode, displaying, on the display, a secondindicator corresponding to a property of the second shooting mode to atleast temporarily overlap the plurality of images; and storing at leasta part of the plurality of images in the memory based on at least acorresponding shooting mode selected from among the first shooting modeand the second shooting mode.

According to various embodiments of the present disclosure, an operationmethod of an electronic device may include: displaying, on a display, aplurality of images of an external object obtained using a cameraelectrically connected to the electronic device; receiving an inputassociated with shooting while the plurality of images is displayed;when the input corresponds to the first shooting mode, displaying, onthe display, a first indicator corresponding to a property of the firstshooting mode to at least temporarily overlap the plurality of images;when the input corresponds to the second shooting mode, displaying, onthe display, a second indicator corresponding to a property of thesecond shooting mode to at least temporarily overlap the plurality ofimages; and storing at least a part of the plurality of images in amemory of the electronic device based on at least a correspondingshooting mode selected from among the first shooting mode and the secondshooting mode.

According to various embodiments of the present disclosure, anelectronic device may include: a camera; a memory; and at least oneprocessor, the processor performing control to: receive a camerashooting request; display a preview of an external object obtainedthrough the camera using first area information based on a firstshooting mode in response to the shooting request; receive an inputcorresponding to a second shooting mode in the first shooting mode; anddisplay the preview using second area information corresponding to thesecond shooting mode in response to the input.

Before undertaking the DETAILED DESCRIPTION below, it may beadvantageous to set forth definitions of certain words and phrases usedthroughout this patent document: the terms “include” and “comprise,” aswell as derivatives thereof, mean inclusion without limitation; the term“or,” is inclusive, meaning and/or; the phrases “associated with” and“associated therewith,” as well as derivatives thereof, may mean toinclude, be included within, interconnect with, contain, be containedwithin, connect to or with, couple to or with, be communicable with,cooperate with, interleave, juxtapose, be proximate to, be bound to orwith, have, have a property of, or the like; and the term “controller”means any device, system or part thereof that controls at least oneoperation, such a device may be implemented in hardware, firmware orsoftware, or some combination of at least two of the same. It should benoted that the functionality associated with any particular controllermay be centralized or distributed, whether locally or remotely.

Moreover, various functions described below can be implemented orsupported by one or more computer programs, each of which is formed fromcomputer readable program code and embodied in a computer readablemedium. The terms “application” and “program” refer to one or morecomputer programs, software components, sets of instructions,procedures, functions, objects, classes, instances, related data, or aportion thereof adapted for implementation in a suitable computerreadable program code. The phrase “computer readable program code”includes any type of computer code, including source code, object code,and executable code. The phrase “computer readable medium” includes anytype of medium capable of being accessed by a computer, such as readonly memory (ROM), random access memory (RAM), a hard disk drive, acompact disc (CD), a digital video disc (DVD), or any other type ofmemory. A “non-transitory” computer readable medium excludes wired,wireless, optical, or other communication links that transporttransitory electrical or other signals. A non-transitory computerreadable medium includes media where data can be permanently stored andmedia where data can be stored and later overwritten, such as arewritable optical disc or an erasable memory device.

Definitions for certain words and phrases are provided throughout thispatent document, those of ordinary skill in the art should understandthat in many, if not most instances, such definitions apply to prior, aswell as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of the presentdisclosure will be more apparent from the following detailed descriptiontaken in conjunction with the accompanying drawings, in which,

FIG. 1A illustrates a diagram of an electronic device in a networkenvironment according to various embodiments of the present disclosure;

FIG. 1B illustrates a block diagram of an electronic device includingone camera according to various embodiments of the present disclosure;

FIG. 1C illustrates a block diagram of an electronic device including aplurality of cameras according to various embodiments of the presentdisclosure;

FIG. 2 illustrates a block diagram of an electronic device according tovarious embodiments of the present disclosure;

FIG. 3 illustrates a block diagram of a program module according tovarious embodiments of the present disclosure;

FIG. 4 illustrates a flowchart of a process of displaying an imagecorresponding to a shooting mode by an electronic device according tovarious embodiments of the present disclosure;

FIG. 5 illustrates a flowchart of a process in which an electronicdevice converts a preview image based on the conversion of a shootingmode according to various embodiments of the present disclosure;

FIGS. 6A-6D illustrate diagrams of screen configurations that display apreview image corresponding to a shooting mode in an electronic deviceaccording to various embodiments of the present disclosure;

FIG. 7 illustrates a flowchart of a process of selectively converting apreview image by an electronic device according to various embodimentsof the present disclosure;

FIG. 8 illustrates a flowchart of a process of storing an imagecorresponding to a shooting mode by an electronic device according tovarious embodiments of the present disclosure;

FIGS. 9A and 9B illustrate diagrams of screen configurations thatdisplay a preview image corresponding to a picture-shooting mode in anelectronic device according to various embodiments of the presentdisclosure;

FIG. 10 illustrates a flowchart of a process in which an electronicdevice captures a picture image during video shooting according tovarious embodiments of the present disclosure;

FIG. 11 illustrates a flowchart of a process in which an electronicdevice resets a camera when a shooting mode is converted according tovarious embodiments of the present disclosure;

FIG. 12 illustrates a flowchart of a process in which an electronicdevice resets a camera at a point in time for shooting based on theconversion of a shooting mode according to various embodiments of thepresent disclosure;

FIG. 13 illustrates a flowchart of a process in which an electronicdevice displays a captured image while a camera is reset according tovarious embodiments of the present disclosure; and

FIG. 14 illustrates a flowchart of a process of converting a shootingmode using a plurality of cameras by an electronic device according tovarious embodiments of the present disclosure.

DETAILED DESCRIPTION

FIGS. 1A through 14, discussed below, and the various embodiments usedto describe the principles of the present disclosure in this patentdocument are by way of illustration only and should not be construed inany way to limit the scope of the disclosure. Those skilled in the artwill understand that the principles of the present disclosure may beimplemented in any suitably arranged system or device.

Hereinafter, various exemplary embodiments of the present document aredescribed with reference to the accompanying drawings. It should beunderstood, however, that it is not intended to limit the variousexemplary embodiments of the present document to the particular formdisclosed, but, on the contrary, it is intended to cover allmodifications, equivalents, and alternatives falling within the spiritand scope of the various exemplary embodiments of the present document.Like reference numerals denote like components throughout the drawings.A singular expression includes a plural concept unless there is acontextually distinctive difference therebetween.

In the present document, an expression “A or B”, “A and/or B”, or thelike may include all possible combinations of items enumerated together.Although expressions such as“1^(st)” “1^(nd)” “first”, and “second” maybe used to express corresponding constitutional elements, it is notintended to limit the corresponding constitutional elements. When acertain (e.g., 1^(st)) constitutional element is mentioned as being“operatively or communicatively coupled with/to” or “connected to” adifferent (e.g., 2^(nd)) constitutional element, the certainconstitutional element is directly coupled with/to anotherconstitutional element or can be coupled with/to the differentconstitutional element via another (e.g., 3^(rd)) constitutionalelement.

An expression “configured to” used in the present document may beinterchangeably used with, for example, “suitable for”, “having thecapacity to”, “adapted to”, “made to”, “capable of”, or “designed to” ina hardware or software manner according to a situation. In a certainsituation, an expressed “a device configured to” may imply that thedevice is “capable of” together with other devices or components. Forexample, “a processor configured to perform A, B, and C” may imply adedicated processor (e.g., an embedded processor) for performing acorresponding operation or a generic-purpose processor (e.g., CentralProcessing Unit (CPU) or an application processor) capable of performingcorresponding operations by executing one or more software programsstored in a memory device.

An electronic device according to various embodiments of the presentdisclosure, for example, may include at least one of a smartphone, atablet personal computer (PC), a mobile phone, a video phone, anelectronic book (e-book) reader, a desktop PC, a laptop PC, a netbookcomputer, a workstation, a server, a personal digital assistant (PDA), aportable multimedia player (PMP), an MP3 player, a mobile medicalappliance, a camera, and a wearable device (e.g., smart glasses, ahead-mounted-device (HMD), electronic clothes, an electronic bracelet,an electronic necklace, an electronic appcessory, an electronic tattoo,a smart mirror, or a smart watch).

According to some embodiments, the electronic device (ex. homeappliance) may include at least one of, for example, a television, aDigital Video Disk (DVD) player, an audio, a refrigerator, an airconditioner, a vacuum cleaner, an oven, a microwave oven, a washingmachine, an air cleaner, a set-top box, a home automation control panel,a security control panel, a media box (e.g., Samsung HomeSync™, AppleTV™, or Google TV™), a game console (e.g., Xbox™ and PlayStation™, anelectronic dictionary, an electronic key, a camcorder, and an electronicphoto frame.

According to another embodiment, the electronic device may include atleast one of various medical devices (e.g., various portable medicalmeasuring devices (a blood glucose monitoring device, a heart ratemonitoring device, a blood pressure measuring device, a body temperaturemeasuring device, etc.), a Magnetic Resonance Angiography (MRA), aMagnetic Resonance Imaging (MRI), a Computed Tomography (CT) machine,and an ultrasonic machine), a navigation device, a Global PositioningSystem (GPS) receiver, an Event Data Recorder (EDR), a Flight DataRecorder (FDR), a Vehicle Infotainment Devices, an electronic devicesfor a ship (e.g., a navigation device for a ship, and a gyro-compass),avionics, security devices, an automotive head unit, a robot for home orindustry, an automatic teller's machine (ATM) in banks, point of sales(POS) in a shop, or internet device of things (e.g., a light bulb,various sensors, electric or gas meter, a sprinkler device, a firealarm, a thermostat, a streetlamp, a toaster, a sporting goods, a hotwater tank, a heater, a boiler, etc.).

According to some embodiments, the electronic device may include atleast one of a part of furniture or a building/structure, an electronicboard, an electronic signature receiving device, a projector, andvarious kinds of measuring instruments (e.g., a water meter, an electricmeter, a gas meter, and a radio wave meter). The electronic deviceaccording to various embodiments of the present disclosure may be acombination of one or more of the aforementioned various devices. Theelectronic device according to some embodiments of the presentdisclosure may be a flexible device. Further, the electronic deviceaccording to an embodiment of the present disclosure is not limited tothe aforementioned devices, and may include a new electronic deviceaccording to the development of technology

Hereinafter, an electronic device according to various embodiments willbe described with reference to the accompanying drawings. As usedherein, the term “user” may indicate a person who uses an electronicdevice or a device (e.g., an artificial intelligence electronic device)that uses an electronic device.

FIG. 1A illustrates an electronic device 101 in a network environmentaccording to various embodiments of the present disclosure.

Referring to FIG. 1A, the electronic device 101 may include a bus 110, aprocessor 120 (e.g., including processing circuitry), a memory 130, aninput/output interface 150 (e.g., including input/output circuitry), adisplay 160 (e.g., including display circuitry), a communicationinterface 170 (e.g., including communication circuitry), and a camera180. In some embodiments, the electronic device 101 may omit at leastone of the elements, or may further include other elements.

The bus 110 may include a circuit that interconnects the elements 120 to180 and transfers communication (e.g., control messages and/or data)between the elements.

The processor 120 may include one or more of a central processing unit(CPU), an application processor (AP), a communication processor (CP),and an image-signal processor (ISP). For example, the processor 120 mayexecute calculations or data processing about controls and/orcommunication of at least one other element of the electronic device101.

According to an embodiment, the processor 120 may perform control suchthat a preview image corresponding to a shooting mode using the camera180 is displayed. For example, when occurrence of an event for providinga camera service is detected, the processor 120 may perform control suchthat the camera 180 is activated. When the camera 180 is activated, theprocessor 120 may control the display 160 such that a preview image isdisplayed based on first area information corresponding to a firstshooting mode. For example, the first area information is areainformation for displaying an image in a predetermined size of the firstshooting mode, and may be determined based on the ratio of the previewimage of the first shooting mode and the reference length (e.g., alandscape-orientation length) of a display area of the display 160. Forexample, when an input corresponding to a second shooting mode isreceived in the state in which the preview image corresponding to thefirst shooting mode is displayed, the processor 120 may control thedisplay 160 such that the preview image is displayed based on secondarea information corresponding to the second shooting mode. In otherwords, the processor 120 may update the preview image corresponding tothe first area information displayed on the display 160 to correspond tothe second area information. For example, the second area informationmay be area information for displaying an image in a predetermined sizeof the second shooting mode, and may be determined based on the ratio ofa preview image of the second shooting mode and the reference length(e.g., a landscape-orientation length) of the display area of thedisplay 160. For example, the input corresponding to the second shootingmode may include at least one of a press on a hardware buttoncorresponding to the second shooting mode, a touch (touch-down) on asoftware button, a force touch (force touch-down), a gesture input, avoice input, and a macro instruction.

According to an embodiment, the processor 120 may determine whether toconvert the preview image when the input corresponding to the secondshooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed. For example, theprocessor 120 may compare the first area information and the second areainformation, and may determine whether to convert the preview image. Forexample, when the first area information and the second area informationare different, the processor 120 may determine to convert the previewimage. For example, when the view angle of the camera 180, whichcorresponds to the second area information, is equal to or greater thanthe view angle of the camera 180, which corresponds to the first areainformation, the processor 120 may determine not to convert the previewimage.

According to an embodiment, the processor 120 may convert the previewimage such that an image collected through the camera 180 corresponds tothe second area information corresponding to the second shooting mode.For example, when the input corresponding to the second shooting mode isreceived in the state in which the preview image corresponding to thefirst shooting mode is displayed, the processor 120 may edit the imagecollected through the camera 180 so as to correspond to the second areainformation. The processor 120 may control the display 160 such that theimage edited to correspond to the second area information is displayed.For example, the processor 120 may collect an image having an aspectratio of 4:3 through the camera 180. The processor 120 may control thedisplay 160 to display a preview image at a ratio of 4:3, which iscollected through the camera 180 based on a picture-shooting mode (e.g.,the first shooting mode). When an input corresponding to avideo-shooting mode (e.g., the second shooting mode) is received in thestate in which the preview image corresponding to the picture-shootingmode is displayed, the processor 120 may determine the size of a viewangle control area based on the size of a video having an aspect ratioof 16:9. For example, the processor 120 may control the display 160 suchthat a part corresponding to the view angle control area is cut from thepreview image having an aspect ratio of 4:3 and a preview image havingan aspect ratio of 16:9 is displayed. For example, the processor 120 maycontrol the display 160 such that a view angle control area isadditionally displayed in the preview image having an aspect ratio of4:3, which corresponds to the picture-shooting mode displayed in thedisplay 160. For example, the processor 120 may control the display 160such that an image having an aspect ratio of 4:3 which is collectedthrough the camera 180 based on the video-shooting mode (e.g., the firstshooting mode) is converted into a preview image having an aspect ratioof 16:9, and the preview image is displayed. When an input correspondingto the picture-shooting mode (e.g., the second shooting mode) isreceived in the state in which a preview image corresponding to thevideo-shooting mode is displayed, the processor 120 may control thedisplay 160 such that a preview image having an aspect ratio of 4:3,which is collected through the camera 180 based on a picture size havingan aspect ratio of 4:3, is displayed.

According to an embodiment, the processor 120 may perform control suchthat a preview image of the second area information corresponding to thesecond shooting mode is displayed using a preview image of the firstshooting mode. For example, when an input corresponding to the secondshooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, the processor 120may reset the camera 180 to correspond to the second shooting mode.While the camera 180 is reset, the processor 120 may control the display160 such that a captured image of the preview image corresponding to thefirst shooting mode is edited to correspond to the second areainformation, and the edited image may be displayed. For example, theprocessor 120 may collect an image having an aspect ratio of 4:3 throughthe camera 180. The processor 120 may control the display 160 to displaya preview image having an aspect ratio of 4:3, which is collectedthrough the camera 180 based on the picture-shooting mode (e.g., thefirst shooting mode). When an input corresponding to the video-shootingmode (e.g., the second shooting mode) is received in the state in whichthe preview image corresponding to the picture-shooting mode isdisplayed, the processor 120 may capture an image having an aspect ratioof 4:3. The processor 120 may determine the size of the view anglecontrol area based on the size of a video having an aspect ratio of16:9. For example, the processor 120 may control the display 160 suchthat a part corresponding to the view angle control area is cut from thecaptured image having an aspect ratio of 4:3, and an image having anaspect ratio of 16:9 is displayed. For example, the processor 120 maycontrol the display 160 such that the view angle control area isadditionally displayed in the captured image displayed on the display160. When the camera 180 is completely reset, the processor 120 maycontrol the display 160 such that the captured image displayed on thedisplay 160 is converted to an image collected through the camera 180.

According to an embodiment, the processor 120 may perform control suchthat a preview image collected through a camera corresponding to ashooting mode is displayed when a plurality of cameras is included. Forexample, in the picture-shooting mode, the processor 120 may performcontrol such that a first camera corresponding to the predeterminedimage size of the first shooting mode is activated from among aplurality of cameras included in the camera 180. The processor 120 maycontrol the display 160 such that a preview image collected through thefirst camera is displayed. When an input corresponding to the secondshooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, the processor 120may perform control such that a second camera corresponding to thepredetermined image size of the second shooting mode is activated. Theprocessor 120 may control the display 160 such that a preview imagecollected through the second camera is displayed. For example, a cameracorresponding to a predetermined image size of a shooting mode mayinclude at least one camera having a view angle at which thepredetermined image size of the shooting mode is obtainable.

According to an embodiment, the processor 120 may store an imageobtained through the camera 180 when an input for obtaining an image isdetected. For example, when an input for obtaining an image is detected,the processor 120 may store a picture or a video obtained at the sameview angle as that of a preview image displayed on the display 160. Forexample, when an input for obtaining an image is detected, the processor120 may reset the camera 180 to correspond to the size (view angle) of apreview image displayed on the display 160. The processor 120 may storea picture or a video obtained through the reset camera 180. Theprocessor 120 may control the display 160 such that a preview image iscaptured and the captured image is displayed while the camera 180 isreset. When the camera 180 is completely reset, the processor 120 maycontrol the display 160 such that the captured image displayed on thedisplay 160 is converted to an image collected through the camera 180.The processor 120 may obtain a picture or a video obtained through thecamera 180. For example, an input for obtaining an image may include atleast one of release of selection of a hardware button or a softwarebutton corresponding to a shooting mode, a force touch, a force touchrelease, a touch movement, a gesture input, a voice input, and a macroinstruction. For example, an input for obtaining an image in the secondshooting mode may include another input which is subsequently providedafter an input corresponding to the second shooting mode.

According to an embodiment, when an input corresponding to pictureshooting (obtaining) is detected while video shooting (obtaining) isperformed, the processor 120 may obtain a picture at the point in timeat which the input is detected. For example, the processor 120 mayextract at least a part (e.g., having an aspect ratio of 16:9) of thesize (e.g., having an aspect ratio of 4:3) obtained through the camera,and may store the same as a video. For example, when an inputcorresponding to picture shooting is detected while video shooting isbeing performed, the processor 120 may capture a picture image in thesize (e.g., at an aspect ratio of 16:9) the same as that of the video.For example, when an input corresponding to picture shooting is detectedwhile video shooting is performed, the processor 120 may capture apicture image having the same size as that of the video but having ahigher resolution. For example, when input corresponding to pictureshooting is detected while video shooting is performed, the processor120 may capture a picture image corresponding to a predetermined size(e.g., a ratio of 4:3), which is different from that of the video.

The memory 130 may include a volatile and/or non-volatile memory. Forexample, the memory 130 may store instructions or data related to atleast one other element of the electronic device 101. For example, thememory 130 may store at least one of the size, the ratio, or theresolution of an image corresponding to each shooting mode supportablein the electronic device 101.

According to an embodiment, the memory 130 may store software and/or aprogram 140. The program 140 may include, for example, a kernel 141,middleware 143, an application programming interface (API) 145, orapplication programs (or “applications”) 147. At least some of thekernel 141, the middleware 143, and the API 145 may be referred to as anoperating system (OS).

For example, the kernel 141 may control or manage system resources(e.g., the bus 110, the processor 120, the memory 130, or the like) usedfor executing an operation or function implemented by other programs(e.g., the middleware 143, the API 145, or the application 147).Furthermore, the kernel 141 may provide an interface through which themiddleware 143, the API 145, or the application programs 147 may accessthe individual elements of the electronic device 101 to control ormanage system resources.

The middleware 143 may function as, for example, an intermediary forenabling the API 145 or the application programs 147 to communicate withthe kernel 141 to exchange data. Furthermore, the middleware 143 mayprocess one or more task requests, which are received from theapplication programs 147, according to priorities thereof. For example,the middleware 143 may assign priorities to use the system resources(e.g., the bus 110, the processor 120, the memory 130, or the like) ofthe electronic device 101 to one or more of the application programs147, and may process one or more task requests. The API 145 is aninterface used by the application program 147 to control a functionprovided from the kernel 141 or the middleware 143, and may include, forexample, at least one interface or function (e.g., an instruction) forfile control, window control, image processing, character control, orthe like.

For example, the input/output interface 150 may forward instructions ordata, input from a user or an external device, to the other element(s)of the electronic device 101, or may output instructions or data,received from the other element(s) of the electronic device 101, to theuser or the external device. For example, the input/output interface 150may include at least one physical button, such as a home button, a powerbutton, a volume control button, or the like. For example, theinput/output interface 150 may include a speaker for outputting audiosignals, and a microphone for collecting audio signals.

The display 160 may display various types of content (e.g., text,images, videos, icons, symbols, or the like) to a user. For example, thedisplay 160 may include a Liquid Crystal Display (LCD), a Light-EmittingDiode (LED) display, an Organic Light-Emitting Diode (OLED) display, aMicro Electro Mechanical System (MEMS) display, or an electronic paperdisplay. For example, the display 160 may include a touch screen. Forexample, the display 160 may receive a touch, a gesture, proximity, orhovering input using an electronic pen or a body part of a user.

The communication interface 170 may set communication between theelectronic device 101 and an external device (e.g., a first externalelectronic device 102, a second external electronic device 104, or aserver 106). For example, the communication interface 170 may beconnected to a network 172 through wireless or wired communication tocommunicate with an external device (e.g., the second externalelectronic device 104 or the server 106).

According to an embodiment, the wireless communication may includecellular communication that uses at least one of LTE, LTE-Advanced(LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA),universal mobile telecommunications system (UMTS), wireless broadband(WiBro), global system for mobile communications (GSM), or the like.According to an embodiment, the wireless communication 174 may include,for example, at least one of Wi-Fi, Bluetooth, Bluetooth low energy(BLE), ZigBee, Near Field Communication (NFC), magnetic securetransmission, Radio Frequency (RF), and Body Area Network (BAN).According to an embodiment, the wireless communication may include aGNSS. The GNSS may be, for example, a Global Positioning System (GPS), aGlobal Navigation Satellite System (GLONASS), a BeiDou NavigationSatellite System (hereinafter, referred to as “BeiDou”), or Galileo (theEuropean global satellite-based navigation system). Hereinafter, in thisdocument, the term “GPS” may be interchangeable with the term “GNSS”.According to an embodiment, the wired communication may include at leastone of a Universal Serial Bus (USB), a High-Definition MultimediaInterface (HDMI), Recommended Standard 232 (RS-232), power linecommunication, and a Plain Old Telephone Service (POTS). The network 172may include a telecommunications network, for example, at least one of acomputer network (e.g., a LAN or a WAN), the Internet, and a telephonenetwork.

Each of the first and second external electronic devices 102 and 104 maybe of a type the same as, or different from, that of the electronicdevice 101. According to various embodiments, all or some of theoperations performed in the electronic device 101 may be performed byanother electronic device or a plurality of electronic devices (e.g.,the electronic devices 102 and 104 or the server 106). According to anembodiment, when the electronic device 101 has to perform some functionsor services automatically or in response to a request, the electronicdevice 101 may make a request for performing at least some functionsrelating thereto to another device (e.g., the electronic device 102 or104 or the server 106) instead of, or in addition to, performing thefunctions or services by itself. Another electronic device (e.g., theelectronic device 102 and 104, or the server 106) may execute therequested functions or the additional functions, and may deliver theresult of execution thereof to the electronic device 101. The electronicdevice 101 may provide the received result as it is, or may additionallyprocess the received result to provide the requested functions orservices. To this end, for example, cloud-computing,distributed-computing, or client-server-computing technology may beused.

The camera 180 may collect image information of a subject, and may shoot(obtain) a still image (picture) and a video. For example, the camera180 may shoot a subject according to control of the processor 120. Thecamera 180 may transfer shot data (e.g., an image) to the display 160and the processor 120. For example, the camera 180 may include at leastone selected from among at least one image sensor, a lens, an imagesignal processor (ISP), and a flash (e.g., an LED, a xenon lamp, or thelike). For example, the image sensor may be implemented as acharge-coupled device (CCD) or a complementary metal-oxide semiconductor(CMOS).

According to an embodiment, the camera 180 may include a plurality ofcameras. For example, the camera 180 may include a plurality of camerasthat support different view angles in the front side or back side of theelectronic device 101. For example, the camera 180 may include a firstcamera that supports a first view angle range and a second camera thatsupports a second view angle range in the back side (or the front side)of the electronic device 101. Additionally, the camera 180 may include athird camera in the front side (or the back side).

FIG. 1B illustrates a block diagram of an electronic device includingone camera according to various embodiments of the present disclosure.

Referring to FIG. 1B, the electronic device 101 may include animage-processing module (e.g., image signal processor (ISP)) 122, acamera control module 124, an encoder 126, the memory 130, the display160, and the camera 180. Hereinafter, the memory 130, the display 160,and the camera 180 operate in the same manner as in the configuration ofFIG. 1A, and thus, a detailed description thereof will be omitted.

The image-processing module 122 may convert an original (e.g., a Bayerpattern image or raw data) image obtained through the camera 180 into aform that a user can recognize (e.g., an YUV image). For example, theimage-processing module 122 may process at least one of the exposure,the white balance, and the focus of the original image obtained throughthe camera 180. The image-processing module 122 may convert theprocessed original image into a form that is displayable on the display160.

The camera control module 124 may control the display 160 such that animage provided from the image-processing module 122 is displayed at asize corresponding to a shooting mode. For example, when the shootingmode of the electronic device 101 is a first shooting mode, the cameracontrol module 124 may determine whether the size of the image providedfrom the image-processing module 122 is the same as first areainformation corresponding to the first shooting mode. When the size ofthe image provided from the image-processing module 122 is the same asfirst area information, the camera control module 124 may control thedisplay 160 such that the image provided from the image-processingmodule 122 is displayed. When the size of the image provided from theimage-processing module 122 is different from the first areainformation, the camera control module 124 may convert the imageprovided from the image-processing module 122 to correspond to the firstarea information. The camera control module 124 may control the display160 such that a preview image, which is converted to correspond to thefirst area information, is displayed.

According to an embodiment, when an input corresponding to a secondshooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, the cameracontrol module 124 may control the display 160 such that a preview imagecorresponding to the second shooting mode is displayed. For example,when an input corresponding to the second shooting mode is received inthe state in which the preview image corresponding to the first shootingmode is displayed, the camera control module 124 may determine whetherthe first area information and the second area information are the same.When the first area information and the second area information are thesame, the camera control module 124 may perform control such that thesize of the preview image displayed on the display 160 is maintained.When the first area information and the second area information aredifferent, the camera control module 124 may convert the image providedfrom the image-processing module 122 so as to correspond to the secondarea information. The camera control module 124 may control the display160 such that a preview image corresponding to the second areainformation is displayed. For example, the camera control module 124 maycontrol the display 160 such that a view angle control area is displayedto overlap the preview image corresponding to the first shooting mode.For example, the camera control module 124 may control the display 160such that the preview image corresponding to the first shooting mode isdisplayed after cutting at least a part corresponding to the view anglecontrol area from the preview image. For example, the view angle controlarea may be determined based on at least one of the size (e.g., viewangle) of an image sensor, the size of the display 160 (e.g., the sizeof a display area), first area information, second area information, thelocation of a preview image corresponding to the first shooting mode,the location of a preview image corresponding to the second shootingmode, and a video stabilization margin value.

According to an embodiment, the camera control module 124 may controlthe camera 180 such that the camera 180 is reset based on the conversionof a shooting mode. For example, when an input corresponding to thesecond shooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, the cameracontrol module 124 may control the camera 180 such that the camera 180is reset based on the second shooting mode. For example, the cameracontrol module 124 may control the display 160 such that the previewimage corresponding to the first shooting mode is captured, and thecaptured image is displayed after cutting at least a part correspondingto a view angle control area from the captured image. When the camera180 is completely reset, the camera control module 124 may control thedisplay 160 such that an image provided from the image-processing module122 is displayed. For example, when an input for obtaining an image isreceived in the state in which at least a part of the image obtainedthrough the camera 180 is displayed as a preview image of the secondshooting mode, the camera control module 124 may control the camera 180such that the camera 180 is reset based on the second shooting mode. Forexample, the camera control module 124 may control the display 160 suchthat the preview image corresponding to the second shooting mode iscaptured and the captured image is displayed. When the camera 180 iscompletely reset, the camera control module 124 may control the display160 such that an image provided from the image-processing module 122 isdisplayed.

According to an embodiment, the camera control module 124 may controlthe encoder 126 such that an image having a size corresponding to ashooting mode is encoded. For example, the camera control module 124 maycontrol the encoder 126 such that at least a part of an image obtainedthrough the camera 180 is encoded based on a shooting mode of theelectronic device 101.

The encoder 126 may encode an image provided from the image-processingmodule 122 according to a predetermined scheme. For example, the encoder126 may encode picture data or video data provided from theimage-processing module 122 into data in a predetermined file format,such as JPEG, MPEG, or the like. For example, the encoder 126 mayextract and encode an image in a size corresponding to an image size forencoding, which is provided from the camera control module 124.

The memory 130 may store a picture or a video encoded by the encoder126.

According to an embodiment, at least one of the image-processing module122, the camera control module 124, and the encoder 126 may be includedin the processor 120 of FIG. 1A.

FIG. 1C illustrates a block diagram of an electronic device including aplurality of cameras according to various embodiments of the presentdisclosure.

Referring to FIG. 1C, the electronic device 101 may includeimage-processing modules (e.g., ISP) 122-1 and 122-2, the camera controlmodule 124, encoders 126-1 and 126-2, the memory 130, the display 160,and cameras 180-1 and 180-2. Hereinafter, the memory 130 and the display160 operate in the same manner as the configuration of FIG. 1B and thus,a detailed description thereof will be omitted.

The cameras 180-1 and 180-2 are disposed on one side (e.g., the backside or the front side) of the electronic device 101, and may supportdifferent view angle ranges. For example, the first camera 180-1 mayinclude a wide-angle lens, and the second camera 180-2 may include atelephoto lens.

The first image-processing module 122-1 may convert an original imagecollected through the first camera 180-1 into a form that a user canrecognize. For example, the first image-processing module 122-1 mayprocess a picture image obtained through the first camera 180-1. Thesecond image-processing module 122-2 may convert an original imagecollected through the second camera 180-2 into a form that a user canrecognize. For example, the second image-processing module 122-2 mayprocess a video obtained through the second camera 180-2.

When the electronic device 101 operates in a picture-shooting mode, thefirst encoder 126-1 may encode a picture image, which has been processedby the first image-processing module 122-1, according to a predeterminedscheme. When the electronic device 101 operates in a video-shootingmode, the second encoder 126-2 may encode a video, which has beenprocessed by the second image-processing module 122-2, according to apredetermined scheme.

The camera control module 124 may control driving of the first camera180-1 or the second camera 180-2 based on a shooting mode of theelectronic device 101. For example, when the electronic device 101operates in the picture-shooting mode, the image size of which isrelatively large, the camera control module 124 may perform control suchthat the first camera 180-1 is activated. When the electronic device 101operates in the video-shooting mode, the image size of which isrelatively small, the camera control module 124 may perform control suchthat the second camera 180-2 is activated.

FIG. 2 illustrates a block diagram of an electronic device 201 accordingto various embodiments of the present disclosure. For example, theelectronic device 201 may include the entirety or a part of theelectronic device 101 illustrated in FIGS. 1A-1C. The electronic device201 may include at least one processor 210 (e.g., an AP), acommunication module 220, a subscriber identification module 224, amemory 230, a sensor module 240, an input device 250, a display 260, aninterface 270, an audio module 280, a camera module 291, a powermanagement module 295, a battery 296, an indicator 297, and a motor 298.

The processor 210 may control a plurality of hardware or softwareelements connected thereto and may perform various data processing andoperations by driving an operating system or an application program. Theprocessor 210 may be implemented as, for example, a System on Chip(SoC). According to an embodiment, the processor 210 may further includea graphic processing unit (GPU) and/or an image signal processor (ISP).The processor 210 may also include at least some (e.g., the cellularmodule 221) of the elements illustrated in FIG. 2. The processor 210 mayload, in a volatile memory, instructions or data received from at leastone of the other elements (e.g., a non-volatile memory), process theloaded instructions or data, and store the resultant data in thenon-volatile memory.

According to an embodiment, in the state in which a preview image of afirst shooting mode is displayed, when an input of a second shootingmode that supports a different view angle is received, the processor 210may control the display 260 such that a preview image corresponding tothe second shooting mode is displayed. For example, the processor 210may edit the preview image of the first shooting mode to correspond tothe size of the preview image of the second shooting mode.

The communication module 220 may have a configuration equal or similarto that of the communication interface 170 of FIG. 1A. The communicationmodule 220 may include, for example, a cellular module 221, a Wi-Fimodule 223, a Bluetooth module 225, a GNSS module 227, an NFC module228, and an RF module 229.

The cellular module 221 may provide, for example, a voice call, a videocall, a text message service, an Internet service, or the like through acommunication network. According to an embodiment of the presentdisclosure, the cellular module 221 may identify or authenticate theelectronic device 201 in the communication network using a subscriberidentification module (e.g., a SIM card) 224. According to anembodiment, the cellular module 221 may perform at least some of thefunctions that the AP 210 may provide. According to an embodiment, thecellular module 221 may include a communication processor (CP).

In some embodiments, at least some (two or more) of the cellular module221, the Wi-Fi module 223, the Bluetooth module 225, the GNSS module227, and the NFC module 228 may be included in a single Integrated Chip(IC) or IC package.

The RF module 229 may transmit/receive, for example, a communicationsignal (e.g., an RF signal). The RF module 229 may include, for example,a transceiver, a power amp module (PAM), a frequency filter, a low noiseamplifier (LNA), an antenna, or the like.

According to another embodiment, at least one of the cellular module221, the Wi-Fi module 223, the Bluetooth module 225, the GNSS module227, and the NFC module 228 may transmit/receive an RF signal through aseparate RF module. The subscriber identification module 224 mayinclude, for example, a card that includes a subscriber identity moduleor an embedded SIM, and may contain unique identification information(e.g., an integrated circuit card identifier (ICCID)) or subscriberinformation (e.g., an international mobile subscriber identity (IMSI)).

The memory 230 (e.g., the memory 130 of FIGS. 1A-1C) may include, forexample, an embedded memory 232 or an external memory 234. The embeddedmemory 232 may include, for example, at least one of a volatile memory(e.g., a DRAM, an SRAM, an SDRAM, or the like) and a non-volatile memory(e.g., a one-time programmable ROM (OTPROM), a PROM, an EPROM, anEEPROM, a mask ROM, a flash ROM, a flash memory, a hard disc drive, or asolid-state drive (SSD)). The external memory 234 may include a flashdrive, for example, a compact flash (CF), a secure digital (SD), aMicro-SD, a Mini-SD, an eXtreme digital (xD), a multi-media card (MMC),a memory stick, and the like. The external memory 234 may befunctionally or physically connected to the electronic device 201through various interfaces.

The sensor module 240 may, for example, measure a physical quantity ordetect the operating state of the electronic device 201 and may convertthe measured or detected information into an electrical signal. Thesensor module 240 may include, for example, at least one of a gesturesensor 240A, a gyro sensor 240B, an atmospheric pressure sensor 240C, amagnetic sensor 240D, an acceleration sensor 240E, a grip sensor 240F, aproximity sensor 240G, a color sensor 240H (e.g., a red, green, blue(RGB) sensor), a biometric sensor 240I, a temperature/humidity sensor240J, an illumination sensor 240K, and an ultraviolet (UV) sensor 240M.Additionally or alternatively, the sensor module 240 may include, forexample, an e-nose sensor, an electromyography (EMG) sensor, anelectroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, aninfrared (IR) sensor, an iris sensor, and/or a fingerprint sensor. Thesensor module 240 may further include a control circuit for controllingone or more sensors included therein. In some embodiments, theelectronic device 201 may further include a processor, which isconfigured to control the sensor module 240, as a part of the processor210 or separately from the processor 210 in order to control the sensormodule 240 while the processor 210 is in a sleep state.

The input device 250 may include, for example, a touch panel 252, a(digital) pen sensor 254, a key 256, or an ultrasonic input device 258.The touch panel 252 may use, for example, at least one of a capacitivetype, a resistive type, an infrared type, and an ultrasonic type.Furthermore, the touch panel 252 may further include a control circuit.The touch panel 252 may further include a tactile layer to react to atouch (touch coordinates) to a user. The (digital) pen sensor 254 mayinclude, for example, a recognition sheet that is a part of, or separatefrom, the touch panel. The key 256 may include, for example, a physicalbutton, an optical key, or a keypad. The ultrasonic input device 258 maydetect ultrasonic waves, which are generated by an input tool, through amicrophone (e.g., a microphone 288) to identify data corresponding tothe detected ultrasonic waves.

The display 260 (e.g., the display 160 of FIGS. 1A-1C) may include apanel 262, a hologram device 264, a projector 266, and/or a controlcircuit for controlling them. The panel 262 may be implemented to be,for example, flexible, transparent, or wearable. The panel 262, togetherwith the touch panel 252, may be configured as one or more modules.According to an embodiment, the panel 262 may include a pressure sensor(or force sensor) capable of measuring pressure information of a user'stouch (e.g., pressure coordinates and pressure strength). The pressuresensor may be implemented so as to be integrated with the touch panel252 or may be implemented as one or more sensors separate from the touchpanel 252. According to an embodiment, the panel 262 may include afingerprint sensor capable of detecting fingerprint information of auser's touch (e.g., a fingerprint image). The fingerprint sensor may beimplemented so as to be integrated with the touch panel 252 or may beimplemented as one or more sensors separate from the touch panel 252.The hologram device 264 may show a three-dimensional image in the airusing light interference. The projector 266 may display an image byprojecting light onto a screen. The screen may be located, for example,in the interior of, or on the exterior of, the electronic device 201.The interface 270 may include, for example, an HDMI 272, a USB 274, anoptical interface 276, or a D-subminiature (D-sub) interface 278. Theinterface 270 may be included, for example, in the communicationinterface 170 illustrated in FIG. 1A. Additionally or alternatively, theinterface 270 may, for example, include a mobile high-definition link(MHL) interface, a secure digital (SD) card/multi-media card (MMC)interface, or an infrared data association (IrDA) standard interface.

The audio module 280 may convert, for example, sound into an electricalsignal, and vice versa. At least some elements of the audio module 280may be included, for example, in the input/output interface 150illustrated in FIG. 1A. The audio module 280 may process soundinformation that is input or output through, for example, a speaker 282,a receiver 284, earphones 286, the microphone 288, and the like. Thecamera module 291 (e.g., the camera 180 of FIGS. 1A-1C) is, for example,a device capable of shooting a still image (picture) and a video.According to an embodiment, the camera module 291 may include one ormore image sensors (e.g., a front sensor or a rear sensor), a lens, animage signal processor (ISP), or a flash (e.g., an LED or xenon lamp).The power management module 295 may manage, for example, the power ofthe electronic device 201. According to an embodiment, the powermanagement module 295 may include a power management integrated circuit(PMIC), a charger IC, or a battery or fuel gauge. The PMIC may use awired and/or wireless charging method. The wireless charging method mayinclude, for example, a magnetic resonance method, a magnetic inductionmethod, an electromagnetic wave method, and the like. Additionalcircuits (e.g., a coil loop, a resonance circuit, a rectifier, and thelike) for wireless charging may be further included. The battery gaugemay measure, for example, the amount of charge remaining in the battery296 and a voltage, current, or temperature while charging. The battery296 may include, for example, a rechargeable battery and/or a solarbattery.

The indicator 297 may display a particular state, for example, a bootingstate, a message state, a charging state, or the like of the electronicdevice 201 or a part (e.g., the processor 210) of the electronic device201. The motor 298 may convert an electrical signal into a mechanicalvibration and may generate a vibration, a haptic effect, or the like.The electronic device 201 may include a mobile TV support device (e.g.,a GPU) capable of processing media data according to a standard, such asdigital multimedia broadcasting (DMB), digital video broadcasting (DVB),mediaFlo™, and the like. Each of the above-described elements describedin the present disclosure may be configured with one or more components,and the names of the corresponding elements may be different based onthe type of electronic device. According to various embodiments, anelectronic device (e.g., the electronic device 201) may not include someelements, or may further include additional elements. Some elements maybe coupled to constitute one entity, but the entity may perform the samefunctions as those of the corresponding elements before being coupled toeach other.

FIG. 3 illustrates a block diagram of a program module according tovarious embodiments. According to an embodiment, a program module 310(e.g., the program 140) may include an Operating System (OS) thatcontrols resources relating to an electronic device (e.g., theelectronic device 101) and/or various applications (e.g., theapplication programs 147) that are driven on the operating system. Theoperating system may include, for example, Android™, iOS™, Windows™,Symbian™, Tizen™, or Bada™.

Referring to FIG. 3, the program module 310 may include a kernel 320(e.g., the kernel 141), middleware 330 (e.g., the middleware 143), anAPI 360 (e.g., the API 145), and/or applications 370 (e.g., theapplication programs 147). At least a part of the program module 310 maybe preloaded on the electronic device, or may be downloaded from anexternal electronic device (e.g., the electronic device 102 or 104 orthe server 106).

The kernel 320 may include, for example, a system resource manager 321and/or a device driver 323. The system resource manager 321 may control,allocate, or retrieve system resources. According to an embodiment, thesystem resource manager 321 may include a process manager, a memorymanager, or a file-system manager. The device driver 323 may include,for example, a display driver, a camera driver, a Bluetooth driver, ashared memory driver, a USB driver, a keypad driver, a Wi-Fi driver, anaudio driver, a touch device driver, a pressure device driver, or anInter-Process Communication (IPC) driver.

The middleware 330 may provide, for example, a function used by theapplications 370 in common, or may provide various functions to theapplications 370 through the API 360 such that the applications 370 canuse the limited system resources within the electronic device. Accordingto an embodiment, the middleware 330 may include at least one of aruntime library 335, an application manager 341, a window manager 342, amulti-media manager 343, a resource manager 344, a power manager 345, adatabase manager 346, a package manager 347, a connectivity manager 348,a notification manager 349, a location manager 350, a graphic manager351, and a security manager 352.

The runtime library 335 may include, for example, a library module thata compiler uses in order to add a new function through a programminglanguage while the applications 370 are executed. The runtime library335 may manage an input/output, manage a memory, or process anarithmetic function. The application manager 341 may manage, forexample, the life cycles of the applications 370. According to anembodiment, the application manager 341 may transmit a biometricinformation request signal to the security manager 352 based on acontent request of the application 370. The application manager 341 mayprovide, to the application 370, content information provided from thedatabase manager 346. The window manager 342 may manage GUI resourcesused for a screen. The multimedia manager 343 may identify formats usedfor reproducing various media files, and may encode or decode a mediafile using a codec suitable for a corresponding format. The resourcemanager 344 may manage the source code of the applications 370 or spacein memory. The power manager 345 may manage, for example, the capacityor power of a battery and may provide power information used foroperating the electronic device. According to an embodiment, the powermanager 345 may interoperate with a basic input/output system (BIOS).The database manager 346 may, for example, generate, search, or change adatabase to be used by the applications 370. According to an embodiment,the database manager 346 may search a database and detect content thatmatches biometric information provided from the security manager 352.The package manager 347 may manage the installation or update of anapplication that is distributed in the form of a package file. Theconnectivity manager 348 may manage, for example, a wireless connection.The notification manager 349 may provide an event (e.g., an arrivalmessage, an appointment, a proximity notification, or the like) to auser. The location manager 350 may manage, for example, the locationinformation of the electronic device. The graphic manager 351 maymanage, for example, a graphic effect to be provided to a user and auser interface relating to the graphic effect. The security manager 352may provide, for example, system security or user authentication.According to an embodiment, the security manager 352 may collectbiometric information through the biometric sensor 240I based on abiometric information request signal provided from the applicationmanager 341.

According to an embodiment, the middleware 330 may include a telephonymanager for managing a voice or video call function of the electronicdevice or a middleware module that is capable of forming a combinationof the functions of the above-described elements. According to anembodiment, the middleware 330 may provide a module specialized for eachtype of operating system. The middleware 330 may dynamically remove someof the existing elements, or may add new elements. The API 360 is, forexample, a set of API programming functions, and may be provided indifferent configurations depending on the operating system. For example,in the case of Android or iOS, one API set may be provided for eachplatform, and in the case of Tizen, two or more API sets may be providedfor each platform.

The applications 370 may include, for example, home 371, a dialer 372,SMS/MMS 373, instant messaging (IM) 374, a browser 375, a camera 376, analarm 377, contacts 378, a voice dialer 379, e-mail 380, a calendar 381,a media player 382, an album 383, a watch 384, health care (e.g.,measuring exercise quantity or blood glucose), an application thatprovides environment information (e.g., atmospheric pressure, humidity,or temperature information), and the like. According to an embodiment,the applications 370 may include an information exchange applicationthat can support the exchange of information between the electronicdevice and an external electronic device. The information exchangeapplication may include, for example, a notification relay applicationfor relaying particular information to an external electronic device ora device management application for managing an external electronicdevice. For example, the notification relay application may relaynotification information generated in the other applications of theelectronic device to an external electronic device, or may receivenotification information from an external electronic device and providethe received notification information to a user. The device managementapplication, for example, may install, delete, or update functions of anexternal electronic device that communicates with the electronic device(e.g., turning on/off the external electronic device itself (or someelements thereof) or adjusting the brightness (or resolution) of adisplay) or applications executed in the external electronic device.According to an embodiment, the applications 370 may includeapplications (e.g., a health care application of a mobile medicalappliance) that are designated according to the attributes of anexternal electronic device. According to an embodiment, the applications370 may include applications received from an external electronicdevice. At least some of the program module 310 may be implemented(e.g., executed) by software, firmware, hardware (e.g., the processor210), or a combination of two or more thereof, and may include a module,a program, a routine, an instruction set, or a process for performingone or more functions.

According to an embodiment, in the state in which a preview image of afirst shooting mode is displayed on the display 160 of the electronicdevice 101, when an input of a second shooting mode that supports adifferent view angle is received, the camera application 376 may controlthe display 160 such that a preview image corresponding to the secondshooting mode is displayed. For example, the camera application 376 mayedit the preview image of the first shooting mode to correspond to thesize of the preview image of the second shooting mode.

According to various embodiments of the present disclosure, anelectronic device may include a camera, a display, a memory, and atleast one processor, and the processor may be configured to perform:displaying, on the display, a plurality of images of an external objectobtained using the camera; receiving an input associated with shootingwhile the plurality of images is displayed; when the input correspondsto a first shooting mode, displaying, on the display, a first indicatorcorresponding to a property of the first shooting mode to at leasttemporarily overlap the plurality of images; when the input correspondsto a second shooting mode, displaying, on the display, a secondindicator corresponding to a property of the second shooting mode to atleast temporarily overlap the plurality of images; and storing at leasta part of the plurality of images in the memory based on at least acorresponding shooting mode from among the first shooting mode and thesecond shooting mode.

According to various embodiments, the processor is configured toperform: generating indicator information based on the differencebetween the property of the first shooting mode and the property of thesecond shooting mode; and generating the first indicator or the secondindicator using the indicator information.

According to various embodiments, the processor is configured to performthe storing in response to another input which is provided subsequentlyafter the input.

According to various embodiments, the processor is configured toperform: obtaining a still image using at least a part of the pluralityof images based on the fact that a shooting mode corresponding to theinput is the first shooting mode; and obtaining a video using at least apart of the plurality of images based on the fact that a shooting modecorresponding to the input is the second shooting mode.

According to various embodiments, the processor is configured to performdisplaying, on the display, the first indicator or the second indicatorto at least correspond to a view angle, a size, a ratio, an editingarea, or a combination thereof, which is the priority of the firstshooting mode and the priority of the second shooting mode.

According to various embodiments, the camera includes a first camera anda second camera, and the processor is configured to perform: displayingthe plurality of images of the external object using at least the firstcamera based on the fact that the shooting mode corresponding to theinput is the first shooting mode; and displaying the plurality of imagesof the external object using at least the second camera based on thefact that the shooting mode corresponding to the input is the secondshooting mode.

According to various embodiments, an electronic device includes acamera, a memory, and at least one processor, and the processor performscontrol to: receive a camera shooting request; display a preview imageof an external object obtained through the camera using first areainformation based on a first shooting mode in response to the shootingrequest; receive input corresponding to a second shooting mode in thefirst shooting mode; and display the preview image using second areainformation corresponding to the second shooting mode in response to theinput.

According to various embodiments, the processor may perform control to:generate third area information based on a difference between the firstarea information and the second area information; and display thepreview image further using the third area information.

According to various embodiments, the input includes a first input and asecond input, and the processor performs control to: display the previewimage using the second area information in response to the first input;and obtain an image of the external object in the second shooting modein response to the second input.

According to various embodiments, the first input includes at least oneof a press on a hardware button, a touch (touch-down) on a softwarebutton, a force touch (force touch-down), a gesture input, a voiceinput, and a macro instruction, and the second input includes at leastone of release of selection of a hardware button or a software button,which is successively generated by the first input, a force touch (forcetouch-down), a force touch release, a touch movement, a gesture input, avoice input, and a macro instruction.

According to various embodiments, the processor is configured toperform: obtaining a still image of the external object based on thefact that the shooting mode is the first shooting mode; and obtaining avideo of the external object based on the fact that the shooting mode isthe second shooting mode.

According to various embodiments, the first area information and thesecond area information include a view angle associated with the previewimage, a size, a ratio, an editing area, or a combination thereof.

According to various embodiments, the camera comprises the first cameraand the second camera, and the processor performs control to: display apreview image corresponding to the external object received using atleast the first camera, based on the fact that the shooting mode is thefirst shooting mode; and display a preview image corresponding to theexternal object received using at least the second camera, based on thefact that the shooting mode is the second shooting mode.

FIG. 4 illustrates a flowchart of a process of displaying an imagecorresponding to a shooting mode by an electronic device according tovarious embodiments of the present disclosure. In the followingdescription, an electronic device may include the electronic device 101of FIG. 1A or at least a part (e.g., the processor 120) of theelectronic device 101.

Referring to FIG. 4, the electronic device may display, on a display, animage collected through a camera electrically connected to theelectronic device in operation 401. For example, when an inputcorresponding to a camera service is received, the processor 120 mayperform control such that the camera 180 is activated. The processor 120may convert the image collected through the activated camera 180 into aform that is displayable on the display. The processor 120 may controlthe display 160 such that the converted image is displayed.

The electronic device may determine whether an input corresponding to afirst shooting mode is received in operation 403. For example, the inputcorresponding to the first shooting mode may include at least one of apress on a hardware button corresponding to the first shooting mode, atouch (touch-down) on a software button (icon), a force touch (forcetouch-down) on a software button, a gesture input, a voice input, and amacro instruction.

When the input corresponding to the first shooting mode is received, theelectronic device may display a first indicator corresponding to aproperty of the first shooting mode in operation 405. For example, theprocessor 120 may determine the size of a preview image based on atleast one of a view angle corresponding to the first shooting mode, thesize of an image, the aspect ratio of an image, and an editing area. Theprocessor 120 may control the display 160 such that an image collectedthrough the camera 180 is edited to correspond to the preview imagesize, and the edited image may then be displayed. For example, theprocessor 120 may control the display 160 so as to display an imagecollected through at least one first camera corresponding to the firstshooting mode from among a plurality of cameras included in the camera180.

The electronic device may determine whether an additional inputcorresponding to the first shooting mode is received in operation 407.For example, the additional input corresponding to the first shootingmode may be an input for obtaining an image, and may include at leastone of release of selection of a hardware button or a software buttoncorresponding to the first shooting mode, a force touch, a force touchrelease, a touch movement, a gesture input, a voice input, and a macroinstruction.

When additional input corresponding to the first shooting mode is notreceived, the electronic device may display the first indicatorcorresponding to the property of the first shooting mode in operation405. For example, the processor 120 may control the display 160 suchthat the preview image corresponding to the first shooting mode iscontinuously displayed.

When the additional input corresponding to the first shooting mode isreceived, the electronic device may store an image corresponding to thefirst shooting mode in operation 409. For example, when an additionalinput corresponding to a picture-shooting mode is received, theprocessor 120 may obtain a still image (picture) using at least a partof a plurality of images collected through the camera 180. The processor120 may control the memory 130 such that the still image is stored.

When the additional input corresponding to the first shooting mode isnot received, the electronic device may determine whether an inputcorresponding to a second shooting mode is received in operation 411.For example, the input corresponding to the second shooting mode mayinclude at least one of a press on a hardware button corresponding tothe second shooting mode, a touch on a software button (icon), a forcetouch on a software button, a gesture input, a voice input, and a macroinstruction.

When the input corresponding to the second shooting mode is received,the electronic device may display a second indicator corresponding tothe property of the second shooting mode in operation 413. For example,the processor 120 may determine the size of a preview image based on atleast one of a view angle corresponding to the second shooting mode, thesize of an image, the aspect ratio of an image, and an editing area. Theprocessor 120 may control the display 160 such that a preview image isedited to correspond to the preview image size, and the edited image maythen be displayed. For example, the processor 120 may control thedisplay 160 so as to display an image collected through at least onesecond camera corresponding to the second shooting mode from among aplurality of cameras included in the camera 180.

The electronic device may determine whether an additional inputcorresponding to the second shooting mode is received in operation 415.For example, the additional input corresponding to the second shootingmode may be input for obtaining an image, and may include at least oneof release of selection of a hardware button or a software buttoncorresponding to the second shooting mode, a force touch, a force touchrelease, a touch movement, a gesture input, a voice input, and a macroinstruction.

When the additional input corresponding to the second shooting mode isnot received, the electronic device may display the second indicatorcorresponding to the property of the second shooting mode in operation413. For example, the processor 120 may control the display 160 suchthat the preview image corresponding to the second shooting mode iscontinuously displayed.

When the additional input corresponding to the second shooting mode isreceived, the electronic device may store an image corresponding to thesecond shooting mode in operation 417. For example, when additionalinput corresponding to a video-shooting mode is received, the processor120 may obtain a video using at least a part of a plurality of imagescollected through the camera 180. The processor 120 may control thememory 130 such that the video is stored.

FIG. 5 illustrates a flowchart of a process in which an electronicdevice converts a preview image based on the conversion of a shootingmode according to various embodiments of the present disclosure. FIGS.6A-6D illustrate diagrams of screen configurations that display apreview image corresponding to a shooting mode in an electronic deviceaccording to various embodiments of the present disclosure. In thefollowing description, the electronic device may include the electronicdevice 101 or at least a part (e.g., the processor 120) of theelectronic device 101 of FIG. 1A.

Referring to FIG. 5, the electronic device may activate a cameraelectrically connected to the electronic device based on an input for acamera service in operation 501. For example, when an input forselecting a camera icon displayed on the display 160 is received, theprocessor 120 may perform control such that the camera 180 is activated.For example, when a gesture input corresponding to a camera service isreceived, the processor 120 may perform control such that the camera 180is activated.

The electronic device may display a preview image corresponding to afirst shooting mode based on first area information corresponding to thefirst shooting mode in operation 503. For example, when the camera 180is activated, the processor 120 may obtain the preview imagecorresponding to the first shooting mode by converting an imagecollected through the camera 180 such that the image corresponds to thefirst area information corresponding to the first shooting mode. Theprocessor 120 may control the display 160 such that the preview imagecorresponding to the first shooting mode is displayed. For example, thefirst area information may include at least one of a view anglecorresponding to the first shooting mode, the size of an image, theaspect ratio of an image, and an editing area. For example, theprocessor 120 may control the display 160 such that the image collectedthrough the camera 180 is converted to correspond to the first areainformation, corresponding to a picture-shooting mode, and such that apreview image 600 in the picture-shooting mode is displayed. Forexample, the preview image 600 in the picture-shooting mode may furtherinclude an object (icon) 610 for shooting (capturing) a picture, anobject 612 for shooting a video, an object 614 for switching a camera,and an object 616 for setting a camera. Herein, the preview image mayinclude a plurality of images of an external object is sequentiallydisplayed.

The electronic device may determine whether an input corresponding to asecond shooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, in operation 505.For example, the processor 120 may determine whether an input (e.g., atouch input) for selecting the object 612 for shooting a video isreceived in the state in which the preview image 600 of the firstshooting mode is displayed on the display 160 as shown in FIG. 6A.

When the input corresponding to the second shooting mode is received inthe state in which the preview image corresponding to the first shootingmode is displayed, the electronic device may display a preview imagecorresponding to the second shooting mode based on second areainformation corresponding to the second shooting mode in operation 507.For example, the processor 120 may determine at least one view anglecontrol area based on a difference between the first area information(e.g., display area information of an image having an aspect ratio of4:3) and the second area information (e.g., display area information ofan image having an aspect ratio of 16:9). The processor 120 may performcontrol such that a shadow is displayed in view angle control areas 632and 634, which are at least a part (e.g., an upper area and a lowerarea) of the preview image 600 displayed on the display 160, asillustrated in FIG. 6B. In this instance, a remaining area 636 remainingafter excluding the view angle control areas 632 and 634 from thepreview area 600 may correspond to a view angle of the image collectedthrough the camera 180 based on the second shooting mode. For example,the processor 120 may control the display 160 such that a preview image640 corresponding to the second shooting mode is displayed after cuttingthe image collected through the camera 180 based on the at least oneview control area, as shown in FIG. 6C. For example, the processor 120may control the display 160 such that a view angle control area isadditionally displayed in the state in which the preview image of thefirst shooting mode is captured and displayed on the display 160. As anexample, the processor 120 may control the display 160 such that thepreview image of the first shooting mode is captured, and the capturedimage may be displayed after cutting at least a part of the capturedimage based on the view angle control area, and the part may then bedisplayed.

According to an embodiment, the electronic device may display view anglecontrol areas 652 and 654 on the left side and the right side of thedisplay, as illustrated in FIG. 6D, based on an image size of the firstshooting mode and an image size of the second shooting mode. Forexample, the processor 120 may control the display 160 such that ashadow is displayed in the view angle control areas 652 and 654 disposedon the left area and the right area of the preview image, based on adifference between the first area information corresponding to an imagehaving an aspect ratio of 4:3 and the second area informationcorresponding to an image having an aspect ratio of 1:1.

FIG. 7 illustrates a flowchart of a process of selectively converting apreview image by an electronic device according to various embodimentsof the present disclosure. Hereinafter, operation 507 of FIG. 5 ofdisplaying the preview image corresponding to the second shooting modewill be described. In the following description, the electronic devicemay include the electronic device 101 or at least a part (e.g., theprocessor 120) of the electronic device 101 of FIG. 1A.

Referring to FIG. 7, when an input corresponding to the second shootingmode is received (e.g., operation 505 of FIG. 5) in the state in whichthe preview image corresponding to the first shooting mode is displayed,the electronic device may determine whether the size of the image ischanged based on the second shooting mode in operation 701. For example,the processor 120 may determine whether the first area informationcorresponding to the first shooting mode and the second area informationcorresponding to the second shooting mode are the same. For example, theprocessor 120 may determine whether a predetermined image size (oraspect ratio) of the first shooting mode and a predetermined image size(or aspect ratio) of the second shooting mode are the same.

When the size of the image is changed, the electronic device may displaythe preview image corresponding to the second shooting mode based on thesecond area information corresponding to the second shooting mode inoperation 703. For example, the processor 120 may control the display160 such that the preview image displayed on the display 160 based onthe first area information corresponding to the first shooting mode ischanged based on the second area information. For example, when an imagehaving an aspect ratio of 4:3 is obtained in the first shooting mode andan image having an aspect ratio of 16:9 is obtained in the secondshooting mode, the processor 120 may determine that the image size ischanged. For example, when an image having an aspect ratio of 4:3 or animage having an aspect ratio of 16:9 is obtained in the first shootingmode and an image having an aspect ratio of 1:1 is obtained in thesecond shooting mode, the processor 120 may determine that the imagesize is changed. For example, when an image having an aspect ratio of1:1 is obtained in the first shooting mode and an image having an aspectratio of 16:9 is obtained in the second shooting mode, the processor 120may determine that the image size is changed. For example, even if theratio of an image obtained in the first shooting mode and the ratio ofan image obtained in the second shooting mode are the same, when astabilization function is applied in any one shooting mode, theprocessor 120 may determine that the image size is changed.

When the image size is maintained, the electronic device may maintainthe preview image displayed based on the first area information inoperation 705. For example, when the image size of the first shootingmode and the image size of the second shooting mode are the same, theprocessor 120 may determine that preview images of the first shootingmode and the second shooting mode are collected at the same view angleof the camera 180. Accordingly, the processor 120 may perform controlsuch that the preview image displayed on the display 160 is maintained.For example, when the aspect ratio of an image obtained in the firstshooting mode and the aspect ratio of an image obtained the secondshooting mode are the same, and a stabilization function is not applied,the processor 120 may determine that the image size is maintained.

FIG. 8 illustrates a flowchart of a process of storing an imagecorresponding to a shooting mode by an electronic device according tovarious embodiments of the present disclosure. Hereinafter, operation507 of FIG. 5 of displaying the preview image corresponding to thesecond shooting mode will be described. In the following description,the electronic device may include the electronic device 101 or at leasta part (e.g., the processor 120) of the electronic device 101 of FIG.1A.

Referring to FIG. 8, when an input corresponding to the second shootingmode is received (operation 505 of FIG. 5) in the state in which thepreview image corresponding to the first shooting mode is displayed, theelectronic device may detect at least one view angle control area inoperation 801. For example, the view angle control area may bedetermined based on at least one of the size (e.g., view angle) of animage sensor included in the camera 180, the size of the display 160(e.g., the size of a display area), first area information, second areainformation, the location of a preview image corresponding to the firstshooting mode, the location of a preview image corresponding to thesecond shooting mode, and a video stabilization margin value. Forexample, when an image having an aspect ratio of 4:3 is obtained in thefirst shooting mode and an image having an aspect ratio of 16:9 isobtained in the second shooting mode, the processor 120 may determineview angle control areas to be disposed in the upper area and the lowerarea of the preview image of the first shooting mode. For example, theview angle control area in the upper area may be set to have the heightobtained using Equation 1, from the upper end of the preview image ofthe first shooting mode.Height of view angle control area=((height of the preview image of thefirst shooting mode−(9/16)×width of the preview image of the firstshooting mode))/2  Equation 1

For example, the view angle control area in the upper area may be set tohave the height obtained using Equation 1, from the lower end of thepreview image of the first shooting mode.

For example, when an image having an aspect ratio of 4:3 is obtained inthe first shooting mode and an image having an aspect ratio of 1:1 isobtained in the second shooting mode, the processor 120 may determineview angle control areas to be disposed on the left area and the rightarea of the preview image of the first shooting mode. For example, theview angle control area on the left side may be set to have the widthobtained using Equation 2, from the left side of the preview image ofthe first shooting mode.Width of view angle control area=(width of the preview image of thefirst shooting mode−height of the preview image of the first shootingmode)/2  Equation 2

For example, the view angle control area on the right side may be set tohave the width obtained using Equation 2, from the right side of thepreview image of the first shooting mode.

The electronic device may display the preview image corresponding to thesecond shooting mode on the display based on the view angle control areain operation 803. For example, the processor 120 may control the display160 such that a shadow is displayed in at least a part corresponding toa view angle control area in the preview image of the first shootingmode displayed on the display 160. For example, the processor 120 maycut at least a part corresponding to a view angle control area from thepreview image of the first shooting mode displayed on the display 160,and obtain the preview image corresponding to the second shooting mode.The processor 120 may control the display 160 such that the previewimage corresponding to the second shooting mode is displayed. Forexample, when the preview image of the first shooting mode correspondsto an image collected through the camera 180, the processor 120 mayobtain the preview image corresponding to the second shooting mode bycutting at least a part corresponding to a view angle control area fromthe image collected through the camera 180. For example, when a touchinput corresponding to the second shooting mode is detected in the statein which the preview image corresponding to the first shooting mode isdisplayed, the processor 120 may control the display 160 such that thepreview image corresponding to the second shooting mode is displayedwhile the touch input corresponding to the second shooting mode ismaintained.

The electronic device may determine whether a shooting inputcorresponding to the second shooting mode is received in operation 805.For example, the shooting input corresponding to the second shootingmode may include an event that is successfully generated by an inputwhich corresponds to the second shooting mode and has been received inoperation 505 of FIG. 5. For example, the processor 120 may control thedisplay 160 such that the preview image corresponding to the secondshooting mode is displayed based on a touch input which corresponds tothe second shooting mode and has been detected in the state in which thepreview image corresponding to the first shooting mode is displayed (forexample, operation 803). When the touch input corresponding to thesecond shooting mode is released, the processor 120 may determine thatthe shooting input corresponding to the second shooting mode isreceived. When a force input corresponding to the touch input of thesecond shooting mode is received, the processor 120 may determine thatthe shooting input corresponding to the second shooting mode isreceived. For example, when a touch movement (swipe) in a firstdirection, which corresponds to the touch input of the second shootingmode, is detected, the processor 120 may determine that the shootinginput corresponding to the second shooting mode is received.

When the shooting input corresponding to the second shooting mode isreceived, the electronic device may store an image corresponding to thesecond shooting mode in operation 807. For example, when an input (touchinput) for selecting the object 612 for shooting a video is released inthe state in which the preview image of the video-shooting mode isdisplayed, as illustrated in the FIG. 6C, the processor 120 may shoot apredetermined size video of an external object. For example, thepredetermined size may correspond to the size of a preview image of avideo-shooting mode.

FIGS. 9A and 9B illustrates diagrams of screen configurations thatdisplay a preview image corresponding to a picture-shooting mode in anelectronic device according to various embodiments of the presentdisclosure. In the following description, the electronic device mayinclude the electronic device 101 or at least a part (e.g., theprocessor 120) of the electronic device 101 of FIG. 1A.

According to an embodiment, when a camera service is set to avideo-shooting mode as shown in FIG. 9A, the electronic device maydisplay, on a display, a preview image 900 in a size (e.g., an aspectratio of 16:9) corresponding to the video-shooting mode. For example,the display 160 may display an object 902 for shooting a video, anobject 904 for switching a camera, and an object 906 for capturing astill image in the preview image 900 in an overlay manner.

According to an embodiment, when an input (e.g., a touch input) forselecting the object 906 for capturing a still image is received in thestate in which the preview image 900 corresponding to the video-shootingmode is displayed, as illustrated in FIG. 9A, the electronic device maydetect a view angle control area for displaying a preview image of apicture-shooting mode. For example, the processor 120 may detect a viewangle control area based on a difference in image sizes between thevideo-shooting mode and the picture-shooting mode.

According to an embodiment, the electronic device may display, on thedisplay 160, a preview image 920 corresponding to the picture-shootingmode based on the view angle control area as illustrated in FIG. 9B. Forexample, the camera 180 may collect an image having an aspect ratio of4:3 through an image sensor. When a preview image corresponding to thevideo-shooting mode having an aspect ratio of 16:9 is provided, theprocessor 120 may cut the view angle control area from the imagecollected through the camera 180, and may obtain a preview imagecorresponding to the video-shooting mode. When an input (e.g., a touchinput) for selecting the object 906 for capturing a still image isreceived, the processor 120 may determine a view angle control area fordisplaying an image having an aspect ratio of 4:3, which corresponds tothe picture-shooting mode. Since the size of the image collected throughthe camera 180 is the same as the image size of the picture-shootingmode, the processor 120 may control the display 160 such that the imagecollected through the camera 180 is displayed as the preview image ofthe picture-shooting mode.

According to an embodiment, when an input (e.g., a touch input) forselecting the object 906 for capturing a still image is maintained, theelectronic device may maintain the display of the preview image 920 ofthe picture-shooting mode as illustrated in FIG. 9B.

According to an embodiment, when a shooting input corresponding to thepicture-shooting mode is received, the electronic device may obtain apicture (still image) of an external object. For example, the shootinginput corresponding to the picture-shooting mode may include release ofan input for selecting the object 906 for capturing a still image orforce input corresponding to the object 906 for capturing a still image.

FIG. 10 illustrates a flowchart of a process of capturing a pictureimage during video shooting by an electronic device according to variousembodiments of the present disclosure. Hereinafter, operation 807 ofFIG. 8 of storing an image corresponding to the second shooting modewill be described. In the following description, the electronic devicemay include the electronic device 101 or at least a part (e.g.,processor 120) of the electronic device 101 of FIG. 1A.

Referring to FIG. 10, when the shooting input corresponding to thevideo-shooting mode (e.g., the second shooting mode) is received (e.g.,operation 805 of FIG. 8), the electronic device may shoot a video of atleast one external object through a camera in operation 1001. Forexample, the processor 120 may perform image processing of the imagecollected through the camera 180. The processor 120 may control thememory 130 such that the entirety or at least a part of theimage-processed image is encoded and is stored.

In operation 1003, the electronic device may determine whether acapturing event occurs while video shooting is performed. For example,when video shooting is performed, the processor 120 may control thedisplay 160 such that at least one from among an object for pausingvideo shooting, an object for terminating video shooting, and an objectfor capturing a still image is displayed in at least a part of the videothat is being shot. The processor 120 may determine whether an input(e.g., a touch input) for selecting the object for capturing a stillimage is received while video shooting is performed.

When the capturing event does not occur while video shooting is beingperformed, the electronic device may determine whether video shooting isterminated in operation 1007. For example, the processor 120 maydetermine whether an input (a touch input) for selecting the object forpausing video shooting or the object for terminating video shooting isreceived while video shooting is performed.

The electronic device may capture a picture corresponding to a videowhen the capturing event is detected while video shooting is performed,in operation 1005. For example, the processor 120 may capture a pictureusing at least a part of the video at the point in time at which thecapturing event is detected. For example, the captured image may includean image having a size the same as that of the video that is being shot.For example, the processor 120 may extract at least a part of an imagecollected through an image sensor of the camera 180, and may obtain avideo having a predetermined size (e.g., a ratio of 16:9). When thecapturing event is detected while video shooting is performed, theprocessor 120 may capture a picture using the image collected throughthe image sensor of the camera 180. For example, the captured image mayinclude an image having a size (e.g., a ratio of 4:3) different fromthat of the video that is being shot.

In operation 1007, the electronic device may determine whether videoshooting is terminated. When video shooting is not terminated, theelectronic device may store the video through the camera in operation1001.

FIG. 11 illustrates a flowchart of a process in which an electronicdevice resets a camera when a shooting mode is converted according tovarious embodiments of the present disclosure. Hereinafter, operation507 of FIG. 5 of displaying the preview image corresponding to thesecond shooting mode will be described. In the following description,the electronic device may include the electronic device 101 or at leasta part (e.g., the processor 120) of the electronic device 101 of FIG.1A. Hereinafter, the second shooting mode may be assumed to be a modethat shoots an image having a size smaller than that of an image in thefirst shooting mode.

Referring to FIG. 11, when an input corresponding to the second shootingmode is received (operation 505 of FIG. 5) in the state in which thepreview image corresponding to the first shooting mode is displayed, theelectronic device may capture the preview image of the first shootingmode in operation 1101. For example, the processor 120 may capture thepreview image of the first shooting mode displayed on the display 160 atthe point in time at which the input corresponding to the secondshooting mode is received.

The electronic device may display, on the display, the captured imagebased on a view angle control area in operation 1103. For example, theprocessor 120 may control the display 160 such that a shadow isdisplayed in at least a part of the captured image corresponding to atleast one view angle control area. For example, the processor 120 maycut at least a part of the captured image corresponding to the at leastone view angle control area, and may obtain the preview imagecorresponding to the second shooting mode. The processor 120 may controlthe display 160 such that the preview image corresponding to the secondshooting mode is displayed. For example, the at least one view anglecontrol area may be determined based on the difference between the firstarea information, corresponding to the first shooting mode, and thesecond area information, corresponding to the second shooting mode.

Also, the electronic device may reset a camera electrically connected tothe electronic device so as to correspond to the second shooting mode inoperation 1105. For example, the processor 120 may reset an image sensorof the camera 180 so as to correspond to a predetermined image size(e.g., a image ratio) of the second shooting mode.

In operation 1107, the electronic device may determine whether resettingof the camera is completed. When resetting of the camera is notcompleted, the electronic device may maintain the display of thecaptured image, which is displayed on the display based on the viewangle control area in operation 1103.

When resetting of the camera is completed, the electronic device maydisplay, on the display, an image collected through the camera as thepreview image corresponding to the second shooting mode in operation1109. For example, the processor 120 may control the display 160 suchthat the captured image displayed on the display 160 during a cameraresetting time is changed to the image collected through the camera 180.

The electronic device may determine whether a shooting inputcorresponding to the second shooting mode is received in operation 1111.For example, the shooting input corresponding to the second shootingmode may include at least one of release of selection of a hardwarebutton or a software button corresponding to the second shooting mode, aforce touch release, a gesture input, a voice input, and a macroinstruction.

When the shooting input corresponding to the second shooting mode is notreceived, the electronic device may display, on the display, the previewimage corresponding to the second shooting mode, which is collectedthrough the camera, in operation 1109.

When the shooting input corresponding to the second shooting mode isreceived, the electronic device may store an image corresponding to thesecond shooting mode in operation 1113. For example, the processor 120may control the memory 130 such that a video collected through the resetcamera 180 is stored.

FIG. 12 illustrates a flowchart of a process in which an electronicdevice resets a camera at a point in time for shooting based on theconversion of a shooting mode according to various embodiments of thepresent disclosure. Hereinafter, operation 507 of FIG. 5 of displayingthe preview image corresponding to the second shooting mode will bedescribed. In the following description, the electronic device mayinclude the electronic device 101 or at least a part (e.g., theprocessor 120) of the electronic device 101 of FIG. 1A. Hereinafter, thesecond shooting mode may be assumed to be a mode that shoots an imagehaving a size relatively smaller than an image in the first shootingmode.

Referring to FIG. 12, when an input corresponding to the second shootingmode is received (e.g., operation 505 of FIG. 5) in the state in whichthe preview image corresponding to the first shooting mode is displayed,the electronic device may detect at least one view angle control areafor displaying the preview image of the second shooting mode inoperation 1201. For example, the at least one view angle control areamay be determined based on at least one of the size (e.g., view angle)of an image sensor included in the camera 180, the size of the display160 (e.g., the size of a display area), first area information, secondarea information, the location of the preview image corresponding to thefirst shooting mode, the location of the preview image corresponding tothe second shooting mode, and a video stabilization margin value.

The electronic device may display the preview image corresponding to thesecond shooting mode on the display based on the view angle control areain operation 1203. For example, the processor 120 may control thedisplay 160 such that a shadow 632 and 634 is displayed in at least apart corresponding to a view angle control area in the preview image 600of the first shooting mode displayed on the display 160, as illustratedin FIG. 6B. For example, the processor 120 may cut at least a partcorresponding to the view angle control area from the preview image ofthe first shooting mode displayed on the display 160 and obtain thepreview image corresponding to the second shooting mode. The processor120 may control the display 160 such that the preview image 640corresponding to the second shooting mode is displayed, as illustratedin FIG. 6D.

The electronic device may determine whether a shooting inputcorresponding to the second shooting mode is received in operation 1205.For example, the processor 120 may determine whether the shooting inputcorresponding to the second shooting mode is received in at least oneform selected from among release of selection of a hardware button or asoftware button corresponding to the second shooting mode, a force touchrelease, a gesture input, a voice input, and a macro instruction.

When the shooting input corresponding to the second shooting mode is notreceived, the electronic device may maintain the display of the previewimage corresponding to the second shooting mode in operation 1203.

When the shooting input corresponding to the second shooting mode isreceived, the electronic device may reset the camera to correspond tothe second shooting mode in operation 1207. For example, when a shootinginput corresponding to a video-shooting mode is received in operation1205, the processor 120 may reset an image sensor of the camera 180 tocorrespond to a predetermined aspect ratio (e.g., a ratio of 16:9) ofthe video-shooting mode. For example, the processor 120 may control thedisplay 160 such that the preview image corresponding to the secondshooting mode is captured and displayed during a camera resetting timefor the camera 180.

When resetting of the camera is completed, the electronic device maystore an image corresponding to the second shooting mode through thereset camera in operation 1209. For example, the processor 120 maycontrol the memory 130 so as to store a video collected through thecamera 180 which is reset to correspond to the video-shooting mode.

FIG. 13 illustrates a flowchart of a process in which an electronicdevice displays a captured image when a camera is reset according tovarious embodiments of the present disclosure. Hereinafter, operation1207 of FIG. 12 of resetting the camera will be described. In thefollowing description, the electronic device may include the electronicdevice 101 or at least a part (e.g., the processor 120) of theelectronic device 101 of FIG. 1A.

Referring to FIG. 13, when the shooting input corresponding to thesecond shooting mode is received (e.g., operation 1205 of FIG. 12) inthe state in which the preview image corresponding to the secondshooting mode is displayed, the electronic device may capture thepreview image of the second shooting mode in operation 1301. Forexample, the processor 120 may capture, as a still image, the previewimage of the second shooting mode, corresponding to the point in time atwhich the shooting input corresponding to the second shooting mode isreceived. For example, the preview image of the second shooting mode mayinclude the preview image of the first shooting mode, which is editedbased on at least one view angle control area.

The electronic device may display the captured image on the display inoperation 1303.

Also, in the state in which the captured image is displayed, theelectronic device may reset a camera electrically connected to theelectronic device such that the camera corresponds to the secondshooting mode in operation 1305. For example, the processor 120 mayreset an image sensor of the camera 180 so as to correspond to apredetermined image size of the second shooting mode.

In operation 1307, the electronic device may determine whether resettingof the camera is completed. When resetting of the camera is notcompleted, the electronic device may maintain the display of thecaptured image on the display in operation 1303. For example, theprocessor 120 may control the display 160 such that the display of thecaptured image is maintained until resetting of the camera 180 iscompleted.

FIG. 14 illustrates a flowchart of a process of converting a shootingmode using a plurality of cameras by an electronic device according tovarious embodiments of the present disclosure. In the followingdescription, the electronic device may include the electronic device 101or at least a part (e.g., the processor 120) of the electronic device101 of FIG. 1A.

Referring to FIG. 14, the electronic device may determine whether ashooting event for using a camera electrically connected to anelectronic device occurs in operation 1401. For example, the processor120 may determine whether an input for selecting a camera icon displayedon the display 160 or a gesture input corresponding to a camera serviceis received.

When the occurrence of the shooting event is detected, the electronicdevice displays an image collected through a first camera, correspondingto a first shooting mode, on the display as a preview imagecorresponding to the first shooting mode in operation 1403. For example,when the occurrence of the shooting event is detected, the processor 120may activate a first camera (e.g., the first camera 180-1 of FIG. 1C)corresponding to the first shooting mode from among a plurality ofcameras of the camera 180. The processor 120 may control the display 160such that an image collected through the first camera is displayed as apreview image corresponding to the first shooting mode. For example, atleast one remaining camera, excluding the first camera from the camera180, may be maintained in a deactivated state.

The electronic device may determine whether an input corresponding to asecond shooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, in operation1405. For example, an input corresponding to the second shooting modemay include at least one of a press on a hardware button correspondingto the second shooting mode, a touch (touch-down) on a software button,a force touch (force touch-down), a gesture input, a voice input, and amacro instruction.

When input corresponding to the second shooting mode is not received,the electronic device may display the preview image corresponding to thefirst shooting mode in operation 1403.

When the input corresponding to the second shooting mode is received inthe state in which the preview image corresponding to the first shootingmode is displayed, the electronic device may display an image collectedthrough a second camera corresponding to the second shooting mode as apreview image corresponding to the second shooting mode in operation1407. For example, when an input corresponding to a video-shooting modeis received in operation 1405 in the state in which a preview image of apicture-shooting mode is displayed, the processor 120 may activate thesecond camera (e.g., the second camera 180-2 of FIG. 1C), correspondingto the video-shooting mode, from among a plurality of cameras of thecamera 180.

The processor 120 may control the display 160 such that an imagecollected through the second camera is displayed as a preview imagecorresponding to the video-shooting mode. For example, at least oneremaining camera, excluding the second camera from the camera 180, maybe maintained in a deactivated state.

The electronic device may determine whether a shooting inputcorresponding to the second shooting mode is received in operation 1409.For example, the shooting input corresponding to the second shootingmode may include at least one of release of selection of a hardwarebutton or a software button corresponding to the second shooting mode, aforce touch release, a gesture input, a voice input, and a macroinstruction.

When shooting input corresponding to the second shooting mode is notreceived in operation 1407, the electronic device may display thepreview image corresponding to the second shooting mode.

When the shooting input corresponding to the second shooting mode isreceived, the electronic device may store an image of an external objectobtained through the second camera in operation 1411. For example, whena shooting input corresponding to the video-shooting mode is received,the processor 120 may shoot a video of at least one external objectthrough the second camera.

According to an embodiment, when a shooting input corresponding to thefirst shooting mode is received in the state in which the preview imagecorresponding to the first shooting mode is displayed, the electronicdevice may store an image obtained through the first camera. Forexample, when a shooting input corresponding to a picture-shooting modeis received, processor 120 may control the memory 130 such that at leasta part of the image of an external object collected through the firstcamera is captured and a still image is stored.

According to various embodiments of the present disclosure, an operationmethod of an electronic device may include: displaying, on a display, aplurality of images of an external object obtained using a cameraelectrically connected to the electronic device; receiving an inputassociated with shooting while the plurality of images is displayed;when the input corresponds to the first shooting mode, displaying, onthe display, a first indicator corresponding to a property of the firstshooting mode to at least temporarily overlap the plurality of images;when the input corresponds to the second shooting mode, displaying, onthe display, a second indicator corresponding to a property of thesecond shooting mode to at least temporarily overlap the plurality ofimages; and storing at least a part of the plurality of images in amemory of the electronic device based on at least a correspondingshooting mode from among the first shooting mode and the second shootingmode.

According to various embodiments, the first indicator or the secondindicator may be generated using indicator information generated basedon the difference between the property of the first shooting mode andthe property of the second shooting mode.

According to various embodiments, the storing operation may includestoring at least a part of the plurality of images in the memory of theelectronic device in response to another input provided subsequent tothe input.

According to various embodiments, the storing operation may include:obtaining a still image using at least a part of the plurality of imagesbased on the fact that a shooting mode corresponding to the input is thefirst shooting mode; and obtaining a video using at least a part of theplurality of images based on the fact that a shooting mode correspondingto the input is the second shooting mode.

According to various embodiments, the first indicator or the secondindicator displayed on the display may correspond at least to a viewangle, a size, a ratio, an editing area, or a combination thereof, whichis the property of the first shooting mode and the priority of thesecond shooting mode.

According to various embodiments, the operation of displaying the firstindicator on the display may include displaying, on the display, theplurality of images of the external object using at least a first cameraincluded in the camera, based on the fact that a shooting modecorresponding to the input is the first shooting mode.

According to various embodiments, the operation of displaying the secondindicator on the display may include displaying, on the display, theplurality of images of the external object using at least a secondcamera included in the camera, based on the fact that a shooting modecorresponding to the input is the second shooting mode.

An electronic device and an operation method thereof according tovarious embodiments may output information associated with a change inan image size that occurs due to a difference in view angles betweenshooting modes when a shooting mode of a camera is changed, whereby auser of the electronic device can easily set the composition to be usedfor obtaining an image.

The term “module” as used herein may, for example, mean a unit includingone of hardware, software, and firmware or a combination of two or moreof them. The “module” may be interchangeably used with, for example, theterm “unit”, “logic”, “logical block”, “component”, or “circuit”. The“module” may be a minimum unit of an integrated component element or apart thereof. The “module” may be a minimum unit for performing one ormore functions or a part thereof. The “module” may be mechanically orelectronically implemented. For example, the “module” according to thepresent disclosure may include at least one of an Application-SpecificIntegrated Circuit (ASIC) chip, a Field-Programmable Gate Arrays (FPGA),and a programmable-logic device for performing operations which has beenknown or are to be developed hereinafter.

According to various embodiments, at least some of the devices (forexample, modules or functions thereof) or the method (for example,operations) according to the present disclosure may be implemented by acommand stored in a computer-readable storage medium in a program moduleform. The instruction, when executed by a processor (e.g., the processor120), may cause the one or more processors to execute the functioncorresponding to the instruction. The computer-readable storage mediummay be, for example, the memory 130.

The computer readable recoding medium may include a hard disk, a floppydisk, magnetic media (for example, a magnetic tape), optical media (forexample, a Compact Disc Read Only Memory (CD-ROM) and a DigitalVersatile Disc (DVD)), magneto-optical media (for example, a flopticaldisk), a hardware device (for example, a Read Only Memory (ROM), aRandom Access Memory (RAM), a flash memory), and the like. In addition,the program instructions may include high class language codes, whichcan be executed in a computer by using an interpreter, as well asmachine codes made by a compiler. Any of the hardware devices asdescribed above may be configured to work as one or more softwaremodules in order to perform the operations according to variousembodiments of the present disclosure, and vice versa.

Any of the modules or programming modules according to variousembodiments of the present disclosure may include at least one of theabove described elements, exclude some of the elements, or furtherinclude other additional elements. The operations performed by themodules, programming module, or other elements according to variousembodiments of the present disclosure may be executed in a sequential,parallel, repetitive, or heuristic manner. Further, some operations maybe executed according to another order or may be omitted, or otheroperations may be added.

The embodiments disclosed herein are provided merely to easily describetechnical details of the present disclosure and to help theunderstanding of the present disclosure, and are not intended to limitthe scope of various embodiments of the present disclosure. Therefore,it should be construed that all modifications and changes or variousother embodiments based on the technical idea of various embodiments ofthe present disclosure fall within the scope of various embodiments ofthe present disclosure.

Although the present disclosure has been described with variousembodiments, various changes and modifications may be suggested to oneskilled in the art. It is intended that the present disclosure encompasssuch changes and modifications as fall within the scope of the appendedclaims.

What is claimed is:
 1. An electronic device comprising: a camera; adisplay; a memory; and at least one processor, wherein the at least oneprocessor is configured to: execute an application using the camera in afirst mode; control the display to display a first preview imagecorresponding to the first mode; obtain a first user input changing thefirst mode to a second mode; in response to obtaining the first userinput: capture the first preview image at a point in time at which thefirst user input is received; control the display to display thecaptured first preview image and an indicator corresponding to thesecond mode on the captured first preview image during a resetting ofthe camera to the second mode; identify whether the resetting of thecamera to the second mode is completed; and maintain displaying thecaptured first preview image and the indicator corresponding to thesecond mode on the captured first preview image on the display, untilthe at least one processor identifies that the resetting of the camerato the second mode is completed; after the resetting of the camera tothe second mode, control the display to display a second preview imagecorresponding to the second mode, wherein a size of the second previewimage is equal to a size of the indicator; and store at least a part ofthe second preview image in the memory based on a second user input. 2.The electronic device of claim 1, wherein the at least one processor isfurther configured to: generate indicator information based on adifference between a property of the first mode and a property of thesecond mode; and generate the indicator using the indicator information.3. The electronic device of claim 1, wherein the at least one processoris further configured to: store at least a part of the first previewimage in the memory based on an additional first user input.
 4. Theelectronic device of claim 1, wherein the at least one processor isfurther configured to: obtain a still image based on the second previewimage of the second mode, if the first mode is a video mode; and obtaina video based on the second preview image of the second mode, if thefirst mode is a still mode.
 5. The electronic device of claim 1, whereinthe at least one processor is further configured to: control the displayto display the indicator to correspond at least to a view angle, a size,a ratio, an editing area, or a combination thereof, that is a propertyof the first mode and a property of the second mode.
 6. The electronicdevice of claim 1, wherein the camera comprises a first camera and asecond camera, and the at least one processor is further configured to:control the display to display the first preview image using at leastthe first camera based on an input corresponding to the first mode; andcontrol the display to display the second preview image using at leastthe second camera based on an input corresponding to the second mode. 7.A method for operation of an electronic device, the method comprising:executing an application using a camera in a first mode; controlling adisplay to display a first preview image corresponding to the firstmode; obtaining a first user input changing the first mode to a secondmode; in response to obtaining the first user input, capturing the firstpreview image at a point in time at which the first user input isreceived and displaying the captured first preview image and anindicator corresponding to the second mode on the captured first previewimage during a resetting of the camera to the second mode; identifyingwhether the resetting of the camera to the second mode is completed;maintaining the displaying the captured first preview image and theindicator corresponding to the second mode on the captured first previewimage on the display, until at least one processor identifies that theresetting of the camera to the second mode is completed; after theresetting of the camera to the second mode, controlling the display todisplay a second preview image corresponding to the second mode, whereina size of the second preview image is equal to a size of the indicator;and storing at least a part of the second preview image in a memorybased on a second user input.
 8. The method of claim 7, wherein theindicator is generated using indicator information generated based on adifference between property of the first mode and a property of thesecond mode.
 9. The method of claim 7, wherein the storing comprises:storing at least a part of the first preview image in the memory basedon an additional first user input.
 10. The method of claim 7, whereinthe storing comprises: obtaining a still image based on the secondpreview image of the second mode, if the first mode is a video mode; andobtaining a video based on the second preview image of the second mode,if the first mode is a still mode.
 11. The method of claim 7, whereinthe indicator displayed on the display corresponds at least to a viewangle, a size, a ratio, an editing area, or a combination thereof, whichis a property of the first mode and a property of the second mode. 12.The method of claim 7, wherein the displaying the indicator comprises:displaying, on the display, the first preview image using at least afirst camera included in the camera, based on an input corresponding tothe first mode.
 13. The method of claim 7, wherein the displaying theindicator comprises: displaying, on the display, the second previewimage using at least a second camera included in the camera, based on aninput corresponding to the second mode.
 14. An electronic devicecomprising: a camera; a display; a memory; and at least one processor,wherein the at least one processor is configured to: execute anapplication using the camera in a first mode in response to a camerashooting event; control the display to display a first preview imageusing first area information based on the first mode; receive an inputcorresponding to a second mode; in response to the input: capture thefirst preview image at a point in time at which the input is received;control the display to display the captured first preview image and anindicator corresponding to the second mode on the captured first previewimage during a resetting of the camera to the second mode; identifywhether the resetting of the camera to the second mode is completed; andmaintain displaying the captured first preview image and the indicatorcorresponding to the second mode on the captured first preview image onthe display, until the at least one processor identifies that theresetting of the camera to the second mode is completed; and after theresetting of the camera to the second mode, control the display todisplay a second preview image using second area informationcorresponding to the second mode, wherein a size of the second previewimage is equal to a size of the indicator.
 15. The electronic device ofclaim 14, wherein the at least one processor is further configured to:generate third area information based on a difference between the firstarea information and the second area information; and control thedisplay to display the second preview image further using the third areainformation.
 16. The electronic device of claim 14, wherein the inputincludes a first input and a second input, and the at least oneprocessor is further configured to: control the display to display thesecond preview image using the second area information in response tothe first input, and obtain at least a part of the second preview imagein the second mode in response to the second input.
 17. The electronicdevice of claim 16, wherein the first input includes at least one of apress on a hardware button, a touch (touch-down) on a software button, aforce touch (force touch-down), a gesture input, a voice input, and amacro instruction, and the second input includes at least one a releaseof selection of a hardware button or a software button, which issuccessively generated by the first input, a force touch (forcetouch-down), a force touch release, a touch movement, a gesture input, avoice input, and a macro instruction.
 18. The electronic device of claim14, wherein the at least one processor is further configured to: obtaina still image based on the second preview image of the second mode, ifthe first mode is a video mode; and obtain a video based on the secondpreview image of the second mode, if the first mode is a still mode. 19.The electronic device of claim 14, wherein the first area informationand the second area information include a view angle associated with thefirst preview image, a size, a ratio, an editing area, or a combinationthereof.
 20. The electronic device of claim 14, wherein the cameracomprises a first camera and a second camera, and the at least oneprocessor is further configured to: control the display to display thefirst preview image using at least the first camera, based on an inputcorresponding to the first mode; and control the display to display thesecond preview image using at least the second camera, based on theinput corresponding to the second mode.